
class Api {
//  static String baseUrl = 'http://192.168.0.95:8810/api/';
//  static String baseUrl = 'http://192.168.101.82:8810/api/';
//  static String baseUrl = 'http://192.168.0.203:8810/api/';
//  static String baseUrl = 'http://192.168.0.215:8810/api/';
  static String baseUrl = 'https://api.xigyu.com/api/';


  static String userName='';
  static String trueName='';
  static bool isSon=false;//是否是子账号
  static String adminToken='';
  static String formToken='';
  static String pwd='';
  static String rid='';//设备ID 推送用的
  static String btnColor='#EE2B29';//提交按钮颜色

  static int quality=80;//图片压缩质量
///------------------------------------api--------------------------------------
  static final String getFormToken='master/Common/GetFormToken';//验证重复请求表单token
  static final String validateUserName='Account/ValidateUserName';//登录
//  static final String login='Account/LoginOn';//登录
  static final String login='master/AppAccount/LoginOn';//登录
  static final String loginOnMessage='Account/LoginOnMessage';//验证码登录
  static final String reg='Account/Reg';//注册
  static final String unboundWx='master/AppAccount/UnboundWx';//解绑
//  static final String wxReg='Account/WxReg';//微信注册
  static final String wxReg='master/AppAccount/WxReg';//微信注册
//  static final String wxRegister='Account/WxRegister_New';//微信登录
  static final String wxRegister='master/AppAccount/WxRegister';//微信登录
  static final String send='Message/Send';//获取验证码
  ///新增获取更新推送账户的token以及tags， 工厂的type是6 师傅的type是7 ， createtime可以不传 UserID为登录用户名
  static final String addAndUpdatePushAccount='Message/AddAndUpdatePushAccount';
  static final String forgetPassword='Account/ForgetPassword';//忘记密码
  static final String getUserInfoList='Account/GetUserInfoList';//用户信息(旧)
  static final String getUserInfo='master/AppAccount/GetUserInfo';//用户信息
  static final String getAccountPayInfoList='Account/GetAccountPayInfoList';//获取银行卡列表
//  static final String addorUpdateAccountPayInfo='Account/AddorUpdateAccountPayInfo';//新增或删除银行卡（旧）
  static final String addorUpdateAccountPayInfo='master/AppAccount/AddorUpdateAccountPayInfo';//新增或删除银行卡（新）
  static final String newWorkerGetOrderList='master/AppOrder/List';//工单列表
  static final String getOrderInfo='Order/GetOrderInfo';//工单详情
//  static final String getOrderRecordByOrderID='Order/GetOrderRecordByOrderID';//工单跟踪(旧)
  static final String getOrderRecordByOrderID='Order/GetOrderRecordByGrid';//工单跟踪(新)
  static final String navigationBarNumber='Order/NavigationBarNumber';//主选项数量
  static final String navigationBarNumberSon='Order/NavigationBarNumberSon';//子选项数量
  static final String getCodeList='SysCode/GetCodeList';//获取保外单收取师傅的服务费用
  static final String updateSendOrderState='Order/UpdateSendOrderState';//接单或取消工单
  static final String orderIsCall='Order/OrderIsCall';//是否拨打用户电话
  static final String updateSendOrderUpdateTime='Order/UpdateSendOrderUpdateTime';//预约上门时间
  static final String updateSendOrderAppointmentState='Order/UpdateSendOrderAppointmentState';//预约成功还是失败
//  static final String newAddAccessory="OrderRevision/NewAddAccessory";//MARK:申请配件(旧)
  static final String newAddAccessory="master/AppOrder/ApplyAccessoryForm";//MARK:申请配件
  static final String getFactoryAccessory="FactoryConfig/GetFactoryAccessory";//MARK:获取配件列表
  static final String deleteAccessory="OrderRevision/DeleteAccessory";//MARK:取消配件单
  static final String cancelApplyFeeForm="master/AppOrder/CancelApplyFeeForm";//MARK:取消费用单
  static final String confirmReceipt="Master/AppOrder/ConfirmReceipt";//MARK:确认签收
  static final String confirmReturn="OrderNew/NewConfirmReturn";//MARK:开始返件
  static final String endOrder="Master/AppOrder/NewEnd";//MARK:新版完结工单
  static final String getOrderMoneyDetail="Platform/GetOrderMoneyDetail";//MARK:费用明细
  static final String productToll="Master/AppOrder/ProductToll";//MARK:价格标准
  static final String getCourse="Master/AppProductData/List";//MARK:维修资料
  static final String getSignContractManage="Account/GetSignContractManage";//MARK:获取电子合同
  static final String uploadAutographPicUrl="Upload/UploadAutographPicUrl";//MARK:上传签名照片
  static final String saveAutograph="Account/SaveAutograph";//MARK:保存签名
  static final String getPolicyToken="Oss/GetPolicyToken";//MARK:获取视频上传地址
  static final String getOssConfig="master/Common/OssConfig";//MARK:获取oss配置
  static final String getEndConfig="Master/AppOrder/GetFactoryCompleteConfigForMasterApp";//MARK:获取完结配置
  static final String getWalletInfo="master/AppAccount/Wallet";//MARK:获取钱包信息
  static final String applyAccessory="master/Accessory/ApplyAccessory";//MARK:申请费用（旧）
  static final String applyFeeForm="master/AppOrder/ApplyFeeForm";//MARK:申请费用（新）
  static final String getEnumeration="master/Common/GetEnumeration";//MARK:获取费用类型

  static final String getProvince="Config/GetProvince";//MARK:获取省
  static final String getCity="master/AppAccount/GetCitys";//MARK:获取市
  static final String getArea="master/AppAccount/GetAreas";//MARK:获取区
  static final String getDistrict="master/AppAccount/GetDistricts";//MARK:获取街道
  static final String addorUpdateServiceArea="master/AppAccount/AudServiceAreas";//MARK:更新服务区域
  static final String addAccountAddress="Account/AddAccountAddress";//MARK:添加收件地址
  static final String updateAccountAddress="Account/UpdateAccountAddress";//MARK:修改收件地址
  static final String deleteAccountAddress="Account/DeleteAccountAddress";//MARK:删除收件地址
  static final String getAccountAddress="Account/GetAccountAddress";//MARK:获取收件地址
  static final String getReceivingAddressList="master/AppAccount/GetReceivingAddressList";//MARK:获取收件地址包含子账号收件地址
  static final String getFactoryCategory="FactoryConfig/GetFactoryCategory";//MARK:获取技能分类
  static final String applyAuthInfo="Account/ApplyAuthInfo";//MARK:申请实名认证(旧)
//  static final String applyAuthInfo="master/AppAccount/WorkerApplyAuthInfo";//MARK:申请实名认证（新）
  static final String getAccountSkill="master/AppAccount/GetSkills";//MARK:获取账号技能
  static final String audSkills="master/AppAccount/AudSkills";//MARK:更新账号技能（新）
  static final String updateAccountSkillData="Account/UpdateAccountSkillData";//MARK:更新账号技能（旧）
  static final String getServiceAreaList="master/AppAccount/GetServiceAreaList";//MARK:获取账号服务区域
  static final String getMasterAuditState="master/AppAccount/GetMasterAuditState";//MARK:获取技能区域审核状态

  static final String updateEmergencyContact="Account/UpdateEmergencyContact";//MARK:紧急联系人
  static final String isOrNoTruck="Account/IsOrNoTruck";//MARK:有无货车
  static final String updateTeamNumber="Account/updateTeamNumber";//MARK:团队人数
//  static final String withDraw="Account/WithDraw";//MARK:提现（旧）
  static final String withDraw="master/AppAccount/ManualWithdrawal";//MARK:提现
  static final String accountBill="Account/AccountBill";//MARK:账单明细（旧）
  static final String walletDetails="master/AppAccount/WalletDetails";//MARK:账单明细（新）
  static final String getOrderStr="Pay/GetOrderStr";//MARK:支付宝
  static final String getWXOrderStr="Pay/GetWXOrderStr";//MARK:微信
  static final String uploadAvator="master/AppAccount/UploadAvator";//MARK:上传头像
  static final String getExpressInfo="Mall/GetExpressInfo";//MARK:查询物流信息
  static final String addLeaveMessageForOrder="LeaveMessage/AddLeaveMessageForOrder";//MARK:添加留言
  ///======消息相关start======
  static final String getMessagePag="Cms/GetmessagePag";//MARK:未读消息数量（旧）
  static final String getMessageListByType="Cms/GetmessageListByType";//MARK:消息列表（旧）
  static final String addOrUpdatemessage="Cms/AddOrUpdatemessage";//MARK:更新消息是否已读，单条(旧)
  static final String leaveMessageWhetherLook="LeaveMessage/LeaveMessageWhetherLook";//MARK:留言已读（旧）
  static final String getNewsLeaveMessage="LeaveMessage/GetNewsLeaveMessage";//MARK:留言列表（旧）

  static final String appLeavemessage="master/AppLeavemessage/List";//MARK:获取工单留言（新）

  static final String getMsgTab="master/AppCms/GetTemplate";//MARK:消息tab以及数量
  static final String getMessage="master/AppCms/GetMsgsByType";//MARK:消息列表（新）
  static final String getIsUnReadMsg="master/AppCms/GetIsUnReadMsg";//MARK:获取是否有未读的消息，显示小红点
  static final String readMsg="master/AppCms/ReadMsg";//MARK:标记已读
  static final String geExpenseOrderDetail="master/AppOrder/GeExpenseOrderDetail";//MARK:获取费用单详情
  static final String geAcsOrderDetail="master/AppOrder/GeAcsOrderDetail";//MARK:获取配件单详情
  ///======消息相关end======

  ///======子账号相关start======
//  static final String sonList="master/AppAccount/SonList";//MARK:子账号列表
  static final String sonList="master/AppAccount/GetSubList";//MARK:子账号列表
  static final String parentOrderShareSub="master/AppOrder/ParentOrderShareSub";//MARK:与子账号结算
  static final String changeSendOrder="Order/ChangeSendOrder";//MARK:转派
  static final String cancelChildAccount="Account/CancelChildAccount";//MARK:注销子账号
  static final String nickRemarkUpdate="master/AppAccount/NickRemarkUpdate";//MARK:子账号设置备注
  static final String enableSon="Order/ChangeSendOrder";//MARK:子账号启用或不启用
  static final String sendSwitch="master/AppAccount/ModifySubDetails";//MARK:是否派单开关
  static final String setSettlementRatio="master/AppAccount/SubEndEdit";//MARK:设置结算比例
  static final String getSubEnd="master/AppAccount/GetSubEnd";//MARK:获取结算类型
  static final String getSonInfo="master/AppAccount/GetSubDetails";//MARK:获取子账号资料
  ///======子账号相关end======

  static final String verificationBeforeTheEnd="master/AppOrder/VerificationBeforeTheEnd";//MARK:校验配件单或费用单流程是否走完
  static final String getServiceItems="master/AppOrder/GetServiceItems";//MARK:获取服务项目
  static final String addOpinion="Account/AddOpinion";//MARK:意见反馈
//  static final String addOrderSignInRecrod="Order/AddOrderSignInRecrod";//MARK:签到（旧）
  static final String addOrderSignInRecrod="master/AppOrder/SignIn";//MARK:签到（新）
  static final String idCardImageUpload="Account/IDCardImageUpload";//MARK:上传身份证照片
  static final String videoConfig="master/Common/VideoConfig";//MARK:视频压缩配置

  ///获取文章列表
  ///7系统消息 8平台政策 9平台新闻 10接单必读
  ///@param CategoryID 栏目id
  static final String getListCategoryContentByCategoryID="Cms/GetListCategoryContentByCategoryID";


  ///==============工厂API==============
  static final String getFactorySummaryOfFunds="Account/GetFactorySummaryOfFunds";//钱包
  static final String distinguish="Account/Distinguish";//自动识别
  static final String getFactoryProd="OrderNew/GetFactoryProd";//常用型号
  static final String getProdCategory="OrderNew/GetProdCategory";//分类
  static final String getProdSpecifications="OrderNew/GetProdSpecifications";//规格
  static final String getFactoryBrand="OrderNew/GetFactoryBrand";//品牌
  static final String getProdModel="OrderNew/GetProdModel";//型号
  static final String getParts="OrderNew/GetParts";//配件
  static final String getFactoryAddress="OrderNew/GetFactoryAddress";//获取工厂地址
  static final String addCheck="V2/AppOrder/AddCheck";//发单前校验
  static final String addOrder="V2/AppOrder/Add";//发单
  static final String getOrderList="v2/AppOrder/List";//工单列表
  static final String getOrderDetail="v2/AppOrder/Detail";//工单详情
  static final String getOrderRecordByGrid="v2/AppOrder/GetOrderRecordByGrid";//工单进度
  static final String getNewInformation="v2/AppHome/GetNewInformation";//首页数量
  static final String getStatisticsOrder="OrderNew/GetStatisticsOrder";//工单区域统计
  static final String updateServiceType="Order/UpdateServiceType";//修改服务类型
  static final String updateOrderProd="Order/UpdateOrderProd";//修改服务产品
  static final String reminders="V2/Order/Reminders";//催单
  static final String cancelOrder="V2/Order/CancelOrder";//取消工单
  static final String getCityAll="OrderNew/GetCityAll";//获取所有地址数据

  static final String newFactoryGetOrderList = 'V2/Order/NewFactoryGetOrderList';//获取配件单
  static final String auditAccessory = 'OrderRevision/AuditAccessory';//审核配件
  static final String fillInDeliverGoods = 'OrderRevision/FillInDeliverGoods';//发货
  static final String configRetrun = 'V2/Order/ConfigRetrun';//确认返件
  static final String giveUp = 'OrderRevision/GiveUp';//放弃返还旧件
  static final String newStopAccessory = 'OrderRevision/NewStopAccessory';//终止返还旧件
  static final String auditOrderFee = 'V2/Order/AuditOrderFee';//审核费用单
  static final String getAccInfo = 'V2/OrderAccessory/List';//配件单详情
  static final String getFeeInfo = 'V2/OrderAccessory/OtherList';//费用单详情
  static final String getOrderAccessoriesRecordByGrid = 'V2/Order/GetOrderAccessoriesRecordByGrid';//配件单操作记录

  //钱包
  static final String newRechargeRecord = 'Account/NewRechargeRecord';//充值记录
  static final String financesFactoryGetOrderList = 'Order/FinancesFactoryGetOrderList';//进行中暂冻结 待结算 已结算
  static final String getOrderFreezes = 'V2/Order/GetOrderFreezes';//冻结解冻记录

}